package main.resources.model.entity.moodle;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;


/**
 * The persistent class for the mdl_course_sections database table.
 * 
 */
@Entity
@Table(name="mdl_course_sections")
public class MdlCourseSection implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private BigInteger course;

	private String name;

	private BigInteger section;

    @Lob()
	private String sequence;

    @Lob()
	private String summary;

	private boolean summaryformat;

	private boolean visible;

    public MdlCourseSection() {
    }

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public BigInteger getCourse() {
		return this.course;
	}

	public void setCourse(BigInteger course) {
		this.course = course;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigInteger getSection() {
		return this.section;
	}

	public void setSection(BigInteger section) {
		this.section = section;
	}

	public String getSequence() {
		return this.sequence;
	}

	public void setSequence(String sequence) {
		this.sequence = sequence;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public boolean getSummaryformat() {
		return this.summaryformat;
	}

	public void setSummaryformat(boolean summaryformat) {
		this.summaryformat = summaryformat;
	}

	public boolean getVisible() {
		return this.visible;
	}

	public void setVisible(boolean visible) {
		this.visible = visible;
	}

	public String toString() {
		return "{id: " + this.id + "; course: " + this.course + "; name: " + this.name + "; summary: " + this.summary + "; sequence: " + this.sequence + "}";
	}
}